package com.wumart.scaffold.web.entity.g6;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangwc@wumart.com
 * @since 2021-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class LoanCredit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 审批单编号
     */
    private String creditNo;

    /**
     * 产品代码
     */
    private String productCode;

    /**
     * 产品名称
     */
    private String productName;

    private Date creditStartDate;

    /**
     * 大区（以后就会是地区商家）
     */
    private String mandt;

    /**
     * 供应商组号
     */
    private String supplierGroup;

    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 审批状态 ：已生效(ysx)、已到期(ydq)、审批中(spz)（提交）、已驳回(ybh)、已作废(yzf)、保存(bc)、
     */
    private String appStatus;

    /**
     * 授信金额
     */
    private BigDecimal creditAmount;

    /**
     * 授信利率
     */
    private BigDecimal rateInterest;

    /**
     * 罚息利率
     */
    private BigDecimal ratePunish;

    /**
     * 手续费利率
     */
    private BigDecimal rateFee;

    /**
     * 是否减免手续费
     */
    private Boolean ifReduceFee;

    /**
     * 待还金额（账单金额）
     */
    private BigDecimal invoiceAmount;

    /**
     * 剩余额度
     */
    private BigDecimal remainingAmount;

    /**
     * 授信期限为：6个月 、8个月等
     */
    private Integer creditDays;

    private Date creditEndDate;

    /**
     * 审批环节流程：fxsp,ywzg,bmsp
     */
    private String approvalProcess;

    /**
     * 审批意见：同意(yes)、不同意（no）
     */
    private String approvalOpinion;

    /**
     * 审批意见
     */
    private String approvalDesc;

    /**
     * 审批人名称
     */
    private String approverNo;

    /**
     * 审批人名称
     */
    private String approverName;

    /**
     * 是否提交 0(false)未提交 1(true)提交
     */
    private Boolean submitStatus;

    /**
     * 提交时间
     */
    private Date submitTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 修改人
     */
    private String updateUser;

    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    private String taskiddd;

    /**
     * 提交申请单的类型为新增(add)还是修改(update)
     */
    private String creditType;


    public static final String ID = "id";

    public static final String CREDIT_NO = "credit_no";

    public static final String PRODUCT_CODE = "product_code";

    public static final String PRODUCT_NAME = "product_name";

    public static final String CREDIT_START_DATE = "credit_start_date";

    public static final String MANDT = "mandt";

    public static final String SUPPLIER_GROUP = "supplier_group";

    public static final String SUPPLIER_NAME = "supplier_name";

    public static final String APP_STATUS = "app_status";

    public static final String CREDIT_AMOUNT = "credit_amount";

    public static final String RATE_INTEREST = "rate_interest";

    public static final String RATE_PUNISH = "rate_punish";

    public static final String RATE_FEE = "rate_fee";

    public static final String IF_REDUCE_FEE = "if_reduce_fee";

    public static final String INVOICE_AMOUNT = "invoice_amount";

    public static final String REMAINING_AMOUNT = "remaining_amount";

    public static final String CREDIT_DAYS = "credit_days";

    public static final String CREDIT_END_DATE = "credit_end_date";

    public static final String APPROVAL_PROCESS = "approval_process";

    public static final String APPROVAL_OPINION = "approval_opinion";

    public static final String APPROVAL_DESC = "approval_desc";

    public static final String APPROVER_NO = "approver_no";

    public static final String APPROVER_NAME = "approver_name";

    public static final String SUBMIT_STATUS = "submit_status";

    public static final String SUBMIT_TIME = "submit_time";

    public static final String CREATE_USER = "create_user";

    public static final String UPDATE_USER = "update_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String TASKIDDD = "taskiddd";

    public static final String CREDIT_TYPE = "credit_type";

}
